package com.hanhai.material.wages.service;

import com.mybatisflex.core.service.IService;
import com.hanhai.material.wages.entity.SysUser;
import io.lettuce.core.dynamic.annotation.Param;

/**
 *  服务层。
 *
 * @author youchuang
 * @since 2023/10/25 17:34:51
 */
public interface SysUserService extends IService<SysUser> {
    /**
     * @param username
     * @return SysUser
     * @description:根据用户名查询用户信息
     **/
    SysUser getByUsername(@Param("username") String username);

    /**
     * @param userId
     * @return String
     * @description:根据用户id查询权限
     **/
    String getUserAuthorityInfo(String userId);
}
